package com.sc.web.gwt.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sc.web.gwt.shared.model.Admin;
import com.sc.web.gwt.shared.model.AgentAdmin;

public interface GetUserServiceAsync {

    void isAdminValid(String userName, String password, AsyncCallback<Admin> async);

    void isAgentAdminValid(String userName, String password, AsyncCallback<AgentAdmin> async);

    void isUserLoggedIn(AsyncCallback<String> async);

    void logOut(AsyncCallback<Void> async);
}
